package cn.sdormitory.canteen.vo;

import cn.sdormitory.common.baseVO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@TableName("t_food_order")
public class FoodOrderVO extends baseVO {

    private String id;

    @ApiModelProperty(value = "供应商ID")
    private String supplierId;

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "订单金额")
    private String orderAmount;

    @ApiModelProperty(value = "订单状态")
    private String orderStatus;

    @ApiModelProperty(value = "预计收货日期")
    private String orderReceivDate;

    @ApiModelProperty(value = "收货签名")
    private String receivSign;


    @ApiModelProperty(value = "订单商品")
    @TableField(exist = false)
    private List<FoodOrderGoodsVO> goodsList;

    @ApiModelProperty(value = "月销量")
    @TableField(exist = false)
    private String monthNumber;

    @ApiModelProperty(value = "当前订单销量")
    @TableField(exist = false)
    private String nowNumber;

    @ApiModelProperty(value = "营业执照编号")
    @TableField(exist = false)
    private String businessLicenseCode;

    @ApiModelProperty(value = "资质编号")
    @TableField(exist = false)
    private String qualificationsCode;

    @ApiModelProperty(value = "其他编号")
    @TableField(exist = false)
    private String otherCode;

    @ApiModelProperty(value = "供应商电话")
    @TableField(exist = false)
    private String supplierPhone;

    @ApiModelProperty(value = "供应商别名")
    @TableField(exist = false)
    private String supplierAlias;

    @ApiModelProperty(value = "供应商")
    @TableField(exist = false)
    private String supplier;

    @TableField(exist = false)
    private Integer pageNum;

    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private String orderDate;

    @TableField(exist = false)
    private String supplierName;

}
